Is the requested address already assigned? "netstat -ln"...

Thanks... Dave

From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On 
Behalf Of Deepak Jain4
Sent: Sunday, November 20, 2016 11:12 PM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] Problem while setting socket parameter

HI Team,

system call setsockopt(socket, IPPROTO_IP, MRT_ADD_VIF, (char *)&vc, 
sizeof(vc)) system call is getting fail with error "GigabitEthernet0: Cannot 
assign requested address". socket has been created with   socket(AF_INET, 
SOCK_RAW, IPPROTO_IGMP) API.

vc having following values

(gdb) p vc
$2 = {vifc_vifi = 14, vifc_flags = 0 '\000', vifc_threshold = 0 '\000', 
vifc_rate_limit = 0, {vifc_lcl_addr = {s_addr = 3756520960},
    vifc_lcl_ifindex = 4}, vifc_rmt_addr = {s_addr = 575366855}}.


can anyone suggest what could be the problem here.

Regards,
Deepak

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to