Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
udp.h File Reference
#include <linux/udp.h>
#include <linux/tracepoint.h>
#include <trace/define_trace.h>

Go to the source code of this file.

Macros

#define TRACE_SYSTEM   udp
 
#define _TRACE_UDP_H
 

Functions

 TRACE_EVENT (udp_fail_queue_rcv_skb, TP_PROTO(int rc, struct sock *sk), TP_ARGS(rc, sk), TP_STRUCT__entry(__field(int, rc) __field(__u16, lport)), TP_fast_assign(__entry->rc=rc;__entry->lport=inet_sk(sk) ->inet_num;), TP_printk("rc=%d port=%hu", __entry->rc, __entry->lport))
 

Macro Definition Documentation

#define _TRACE_UDP_H

Definition at line 5 of file udp.h.

#define TRACE_SYSTEM   udp

Definition at line 2 of file udp.h.

Function Documentation

TRACE_EVENT ( udp_fail_queue_rcv_skb  ,
TP_PROTO(int rc, struct sock *sk ,
TP_ARGS(rc, sk ,
TP_STRUCT__entry(__field(int, rc) __field(__u16, lport))  ,
TP_fast_assign(__entry->rc=rc;__entry->lport=inet_sk(sk) ->inet_num;)  ,
TP_printk("rc=%d port=%hu", __entry->rc, __entry->lport  
)