• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/sctp/

Lines Matching refs:bp

132 void sctp_bind_addr_init(struct sctp_bind_addr *bp, __u16 port)
134 bp->malloced = 0;
136 INIT_LIST_HEAD(&bp->address_list);
137 bp->port = port;
141 static void sctp_bind_addr_clean(struct sctp_bind_addr *bp)
147 list_for_each_safe(pos, temp, &bp->address_list) {
156 void sctp_bind_addr_free(struct sctp_bind_addr *bp)
159 sctp_bind_addr_clean(bp);
161 if (bp->malloced) {
162 kfree(bp);
168 int sctp_add_bind_addr(struct sctp_bind_addr *bp, union sctp_addr *new,
184 addr->a.v4.sin_port = htons(bp->port);
194 list_add_tail_rcu(&addr->list, &bp->address_list);
203 int sctp_del_bind_addr(struct sctp_bind_addr *bp, union sctp_addr *del_addr)
211 list_for_each_entry_safe(addr, temp, &bp->address_list, list) {
235 union sctp_params sctp_bind_addrs_to_raw(const struct sctp_bind_addr *bp,
252 list_for_each(pos, &bp->address_list) {
270 list_for_each_entry(addr, &bp->address_list, list) {
287 int sctp_raw_to_bind_addrs(struct sctp_bind_addr *bp, __u8 *raw_addr_list,
305 sctp_bind_addr_clean(bp);
310 retval = sctp_add_bind_addr(bp, &addr, SCTP_ADDR_SRC, gfp);
313 sctp_bind_addr_clean(bp);
330 int sctp_bind_addr_match(struct sctp_bind_addr *bp,
338 list_for_each_entry_rcu(laddr, &bp->address_list, list) {
352 * the bp.
354 int sctp_bind_addr_conflict(struct sctp_bind_addr *bp,
375 list_for_each_entry_rcu(laddr, &bp->address_list, list) {
389 int sctp_bind_addr_state(const struct sctp_bind_addr *bp,
401 list_for_each_entry_rcu(laddr, &bp->address_list, list) {
417 union sctp_addr *sctp_find_unmatch_addr(struct sctp_bind_addr *bp,
432 list_for_each_entry(laddr, &bp->address_list, list) {