Lines Matching refs:ipc
307 struct ipcm_cookie ipc; in raw_sendmsg() local
369 ipc.addr = sk->saddr; in raw_sendmsg()
370 ipc.opt = NULL; in raw_sendmsg()
371 ipc.oif = sk->bound_dev_if; in raw_sendmsg()
374 err = ip_cmsg_send(msg, &ipc); in raw_sendmsg()
377 if (ipc.opt) in raw_sendmsg()
381 rfh.saddr = ipc.addr; in raw_sendmsg()
382 ipc.addr = daddr; in raw_sendmsg()
384 if (!ipc.opt) in raw_sendmsg()
385 ipc.opt = sk->protinfo.af_inet.opt; in raw_sendmsg()
387 if (ipc.opt) { in raw_sendmsg()
394 if (ipc.opt->srr) { in raw_sendmsg()
397 daddr = ipc.opt->faddr; in raw_sendmsg()
405 if (!ipc.oif) in raw_sendmsg()
406 ipc.oif = sk->protinfo.af_inet.mc_index; in raw_sendmsg()
411 err = ip_route_output(&rt, daddr, rfh.saddr, tos, ipc.oif); in raw_sendmsg()
427 if (!ipc.addr) in raw_sendmsg()
428 ipc.addr = rt->rt_dst; in raw_sendmsg()
430 raw_getfrag, &rfh, len, &ipc, rt, msg->msg_flags); in raw_sendmsg()
434 kfree(ipc.opt); in raw_sendmsg()