Home
last modified time | relevance | path

Searched refs:ipcm (Results 1 – 1 of 1) sorted by relevance

/include/net/
Dip.h86 static inline void ipcm_init(struct ipcm_cookie *ipcm) in ipcm_init() argument
88 *ipcm = (struct ipcm_cookie) { .tos = -1 }; in ipcm_init()
91 static inline void ipcm_init_sk(struct ipcm_cookie *ipcm, in ipcm_init_sk() argument
94 ipcm_init(ipcm); in ipcm_init_sk()
96 ipcm->sockc.mark = inet->sk.sk_mark; in ipcm_init_sk()
97 ipcm->sockc.tsflags = inet->sk.sk_tsflags; in ipcm_init_sk()
98 ipcm->oif = inet->sk.sk_bound_dev_if; in ipcm_init_sk()
99 ipcm->addr = inet->inet_saddr; in ipcm_init_sk()
100 ipcm->protocol = inet->inet_num; in ipcm_init_sk()